package com.sofwin.ruoyi.scyffinal.remote;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysFile;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(name = "ruoyi-file")
public interface SysFileService {
    @PostMapping("upload")
    R<SysFile> upload(MultipartFile file);
}
